﻿
Partial Class WebForm_OtherData_IPData
    Inherits BaseUserControl
    Public Sub Show()
        mpSearch.Show()
    End Sub
    Public Sub InitAndShow()
        hiIP.Value = IPAddress
        Me.gvIPData.DataBind()
        Me.Show()
    End Sub
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then

            hiDBName.Value = dbName

        End If

    End Sub

    Public Property IPAddress() As String
        Get
            Return ViewState("IPAddress")
        End Get
        Set(ByVal value As String)
            ViewState("IPAddress") = value
        End Set
    End Property


End Class
